Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Files > Navigation Services >

Programming With Navigation Services 1.1


Sort Order Constants

Your application can specify the sort order for displayed files by passing the kNavCtlSortOrder constant kNavCtlSortBy in the selector parameter of the NavCustomControl function NavCustomControl and passing one of the constants defined in the NavSortOrder data type in the parms parameter of the NavCustomControl function.

enum {
    kNavSortAscending   = 0,
    kNavSortDescending  = 1
};
typedef UInt16  NavSortOrder;

Constant descriptions

kNavSortAscending
Sort in ascending order.
kNavSortDescending
Sort in descending order.

© 1998 Apple Computer, Inc. – (Last Updated 23 Nov 98)

Previous | Back Up One Level | Next |